how to create barcode generator for python